package cn.zhoutingrui.pethome.system.dept.mapper;

import cn.zhoutingrui.pethome.system.dept.domain.Department;
import cn.zhoutingrui.pethome.base.mapper.BaseMapper;
import cn.zhoutingrui.pethome.system.dept.domain.DeptEchart;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author ztr
 * @since 2023-01-13
 */
public interface DepartmentMapper extends BaseMapper<Department> {
    Long findByParentId(Long id);
    List<DeptEchart> countEmpByDept();
}
